package cn.waters321.rock.generator.config;

import java.io.File;
import lombok.Data;

@Data
public class GeneratorConfig {

  private String rootPackageName = "com.waters321.rock";

  private String entityPath = "/rock_common_orm/src/main/java/";
  private String entityPackageName = "orm.entity.{moudle}";

  private String daoPath = "/rock_common_orm/src/main/java/";
  private String daoPackageName = "orm.dao.generator.{moudle}";

  private String customDaoPath = "/rock_common_orm/src/main/java/";
  private String customDaoPackageName = "orm.dao.custom.{moudle}";
  private String customMapperPackageName = "orm.mapper.{moudle}";

  private String servicePath = "/rock_common_core/src/main/java/";
  private String servicePackageName = "core.service.generator.{moudle}";
  private String serviceImplPackageName = "core.service.generator.{moudle}.impl";

  private String customServicePath = "/rock_common_core/src/main/java/";
  private String customServicePackageName = "core.service.custom.{moudle}";
  private String customServiceImplPackageName = "core.service.custom.{moudle}.impl";

  public static final String OUTPUT_ROOT;

  static {
    OUTPUT_ROOT = new File(System.getProperty("user.dir")).getParent();
  }


}
